//
//  LWZHostTableViewCell.m
//  MusicFM
//
//  Created by 王景欣 on 16/1/13.
//  Copyright © 2016年 LWZ. All rights reserved.
//

#import "LWZHostTableViewCell.h"

@implementation LWZHostTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setHostModel:(LWZRankHostModel *)hostModel {
    if (_hostModel != hostModel) {
        _hostModel = hostModel;
    }
    
    self.nickNameLabel.text = self.hostModel.nickname;
//    [self.largeLogoImageView yy_setImageWithURL:[NSURL URLWithString:self.hostModel.middleLogo]];
    [self.largeLogoImageView yy_setImageWithURL:[NSURL URLWithString:self.hostModel.middleLogo] options:YYWebImageOptionProgressiveBlur];

    self.personDescribeLabel.text = self.hostModel.personDescribe;
    
    self.picRT.image = [UIImage imageNamed:@"iconfont-yonghu"];
    self.followersCountsLabel.text = [NSString stringWithFormat:@"%d", self.hostModel.followersCounts / 10000];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
